<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>${app_title}</title>
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/base.css" rel="stylesheet"/>
    <link type="text/css" href="${pageContext.request.contextPath}/static/bootstrap-3.4.1-dist/css/bootstrap.min.css" rel="stylesheet"/>
    <link type="text/css" href="${pageContext.request.contextPath}/static/css/index.css" rel="stylesheet"/>

</head>
<body>
    <header>
        <div class="left">
            <div class="logo">
                <img src="/static/img/logo.png" />
            </div>
        </div>
        <div class="right">
            <div class="info">
                <img class="pic" src="/file?p=${login_user.pic}" />
                <a href="javascript:void(0)">欢迎您， ${login_user.name}</a>
                <div class="info-hide">
                    <a href="page?n=info" target="my-iframe">个人信息</a>
                    <a href="page?n=pass" target="my-iframe">修改密码</a>
                    <a href= "logout"> 注销</a>
                </div>
            </div>


        </div>
    </header>
    <div class="container-fluid content">
        <div class="row">
            <div class="left col-md-2 menu-list">
                <!-- target 写上 iframe 的 name 属性,则表示在此 iframe 中打开链接 -->
                <a href="page?n=welcome" target="my-iframe">首页</a>
                <a href="page?n=user" target="my-iframe">用户管理</a>
                <a href="/student" target="my-iframe">学生管理</a>
                <a href="">班级管理</a>
                <a href="">在线用户</a>
            </div>
            <div class="right col-md-10">
                <iframe name="my-iframe" src="page?n=welcome" frameborder="0" width="100%" height="100%"></iframe>
            </div>
        </div>
    </div>

</body>
</html>
